getTextListLevel

abstract fun getTextListLevel(block: DesignBlock, paragraphIndex: Int): Int

Returns the list nesting level for a specific paragraph of a text block.

Return

the list nesting level of the paragraph.

Parameters

block

the text block whose list level should be returned.

paragraphIndex

the 0-based index of the paragraph.